package unimelb.distSystems.project2;

/*
 * Lim Ching Lih, 308721
 * Yu Xia, 351025
 * Carlos Vasconcelos, 193554
 */

import java.io.Serializable;

/*
 * Track class is an entity type for racing session 
 */
public class Track implements Serializable{
	private long track_id;
	public float startPtX,startPtY,startPtZ;
	public float endPtX1,endPtX2,endPtY;
	
	/*
	 * Constructor
	 */
	public Track(long track_id,
			float startPtX, float startPtY,float startPtZ,
			float endPtX1,float endPtX2,float endPtY)
	{
		this.track_id=track_id;
		this.startPtX=startPtX;
		this.startPtY=startPtY;
		this.startPtZ=startPtZ;
		this.endPtX1=endPtX1;
		this.endPtX2=endPtX2;
		this.endPtY=endPtY;
	}
	
	/*
	 * Get unique ID of track
	 * Input: Nothing
	 * Output: long value of track ID
	 */
	public long getTrackID()
	{
		return track_id;
	}
}
